home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / ClipWindowP.h.z / ClipWindowP.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  97 lines

  1. /* $XConsortium: ClipWindowP.h /main/5 1995/07/15 20:48:39 drk $ */
  2. /*
  3.  *  @OSF_COPYRIGHT@
  4.  *  COPYRIGHT NOTICE
  5.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  6.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  7.  *  the full copyright text.
  8.  */
  9. /*
  10.  * HISTORY
  11.  */
  12. #ifndef _XmClipWindowP_h
  13. #define _XmClipWindowP_h
  14.  
  15. #include <Xm/DrawingAP.h>
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. externalref WidgetClass xmClipWindowWidgetClass;
  22.  
  23. typedef struct _XmClipWindowClassRec * XmClipWindowWidgetClass;
  24. typedef struct _XmClipWindowRec      * XmClipWindowWidget;
  25.  
  26.  
  27. #ifndef XmIsClipWindow
  28. #define XmIsClipWindow(w)  (XtIsSubclass (w, xmClipWindowWidgetClass))
  29. #endif
  30.  
  31.  
  32. /*  New fields for the ClipWindow widget class record  */
  33.  
  34. typedef struct
  35. {
  36.    XtPointer extension;   
  37. #ifdef _SGIMOTIF
  38.     XtPointer _SG_vendorExtension;
  39. #endif    
  40. } XmClipWindowClassPart;
  41.  
  42.  
  43. /* Full class record declaration */
  44.  
  45. typedef struct _XmClipWindowClassRec
  46. {
  47.     CoreClassPart        core_class;
  48.     CompositeClassPart    composite_class;
  49.     ConstraintClassPart    constraint_class;
  50.     XmManagerClassPart    manager_class;
  51.     XmDrawingAreaClassPart    drawing_area_class;
  52.     XmClipWindowClassPart    clip_window_class;
  53. } XmClipWindowClassRec;
  54.  
  55. externalref XmClipWindowClassRec xmClipWindowClassRec;
  56.  
  57.  
  58. /* New fields for the ClipWindow widget record */
  59.  
  60. typedef struct
  61. {
  62.     unsigned char flags;
  63.     Dimension old_width ;
  64. #ifdef _SGIMOTIF
  65.     XtPointer _SG_vendorExtension;
  66. #endif
  67. } XmClipWindowPart;
  68.  
  69.  
  70. /****************************************************************
  71.  *
  72.  * Full instance record declaration
  73.  *
  74.  ****************************************************************/
  75.  
  76. typedef struct _XmClipWindowRec
  77. {
  78.     CorePart        core;
  79.     CompositePart        composite;
  80.     ConstraintPart        constraint;
  81.     XmManagerPart        manager;
  82.     XmDrawingAreaPart    drawing_area;
  83.     XmClipWindowPart    clip_window;
  84. } XmClipWindowRec;
  85.  
  86.  
  87. /********    Private Function Declarations    ********/
  88. /********    End Private Function Declarations    ********/
  89.  
  90.  
  91. #ifdef __cplusplus
  92. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  93. #endif
  94.  
  95. #endif /* _XmClipWindowP_h */
  96. /* DON'T ADD ANYTHING AFTER THIS #endif */
  97.